package com.neu.flashmall.product.mapper;

import com.neu.flashmall.product.entity.PmsProductAttrValue;
import com.neu.flashmall.product.vo.FilterCondition;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 50286
* @description 针对表【pms_product_attr_value(spu属性值)】的数据库操作Mapper
* @createDate 2022-07-13 09:52:58
* @Entity com.neu.flashmall.product.entity.PmsProductAttrValue
*/
@Mapper
public interface PmsProductAttrValueMapper {

    int deleteByPrimaryKey(Long id);

    int insert(PmsProductAttrValue record);

    int insertSelective(PmsProductAttrValue record);

    PmsProductAttrValue selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PmsProductAttrValue record);

    int updateByPrimaryKey(PmsProductAttrValue record);

    List<PmsProductAttrValue> selectByAttrId(Long id);

    int deleteBySpuId(Long id);

    List<Long> selectAddAttrId(Long spuId);

    List<PmsProductAttrValue> getBySpuId(Long spuId);

    List<PmsProductAttrValue> selectAll();
}
